package com.hyl.ssm.entity;


public class User {

  private long id;
  private long roleId;
  private String loginName;
  private String userName;
  private String password;
  private long sex;
  private String identityCode;
  private String email;
  private String mobile;
  private long enabled;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;

  public User(long id, long roleId, String loginName, String userName, String password, long sex, String identityCode, String email, String mobile, long enabled) {
    this.id = id;
    this.roleId = roleId;
    this.loginName = loginName;
    this.userName = userName;
    this.password = password;
    this.sex = sex;
    this.identityCode = identityCode;
    this.email = email;
    this.mobile = mobile;
    this.enabled = enabled;
  }
  public User() {}

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getRoleId() {
    return roleId;
  }

  public void setRoleId(long roleId) {
    this.roleId = roleId;
  }


  public String getLoginName() {
    return loginName;
  }

  public void setLoginName(String loginName) {
    this.loginName = loginName;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public long getSex() {
    return sex;
  }

  public void setSex(long sex) {
    this.sex = sex;
  }


  public String getIdentityCode() {
    return identityCode;
  }

  public void setIdentityCode(String identityCode) {
    this.identityCode = identityCode;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }


  public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }


  public long getEnabled() {
    return enabled;
  }

  public void setEnabled(long enabled) {
    this.enabled = enabled;
  }


  public java.sql.Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Timestamp createTime) {
    this.createTime = createTime;
  }


  public java.sql.Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.sql.Timestamp updateTime) {
    this.updateTime = updateTime;
  }

}
